//
//  Weather.h
//  Lesson
//
//  Created by centling on 15/4/21.
//  Copyright (c) 2015年 Seas.CHENG. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Mantle/Mantle.h"

@interface Weather : MTLModel <MTLJSONSerializing>

@property (nonatomic, copy, readonly) NSString *error;
@property (nonatomic, copy, readonly) NSString *status;
@property (nonatomic, copy, readonly) NSString *date;
@property (nonatomic, copy, readonly) NSArray *results;

@end


@interface Result : MTLModel <MTLJSONSerializing>

@property (nonatomic, copy, readonly) NSString *currentCity;
@property (nonatomic, copy, readonly) NSString *pm25;
@property (nonatomic, copy, readonly) NSArray *index;
@property (nonatomic, copy, readonly) NSArray *weather_data;

@end



@interface Index : MTLModel <MTLJSONSerializing>

@property (nonatomic, copy, readonly) NSString *title;
@property (nonatomic, copy, readonly) NSString *zs;
@property (nonatomic, copy, readonly) NSString *tipt;
@property (nonatomic, copy, readonly) NSString *des;

@end


@interface Data : MTLModel <MTLJSONSerializing>

@property (nonatomic, copy, readonly) NSString *date;
@property (nonatomic, copy, readonly) NSString *dayPictureUrl;
@property (nonatomic, copy, readonly) NSString *nightPictureUrl;
@property (nonatomic, copy, readonly) NSString *weather;
@property (nonatomic, copy, readonly) NSString *wind;
@property (nonatomic, copy, readonly) NSString *temperature;

@end







